Skip to content

fix: show live transcript in standalone notes#5820

Merged
ComputelessComputer merged 2 commits into
mainfrom
fix/standalone-note-live-transcript
Jun 30, 2026
Merged

fix: show live transcript in standalone notes#5820
ComputelessComputer merged 2 commits into
mainfrom
fix/standalone-note-live-transcript

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Expose active capture snapshots through the transcription plugin.
  • Attach standalone note routes to listener events.
  • Add coverage for standalone note live transcript behavior.

Note

Medium Risk
Touches live capture/listener state sync and multi-window event attachment; wrong session or snapshot handling could mis-label active capture or duplicate listeners.

Overview
Fixes standalone note windows missing live transcript when capture already runs in another window.

The transcription plugin adds get_capture_snapshot, returning capture state plus active/finalizing session IDs and live-transcription flags (from a new listener-core Snapshot and SessionStateCache). The desktop listener store gains attachLiveSession, which subscribes to capture events without starting capture, hydrates UI state from the snapshot, and dedupes overlapping attaches; startLiveSession now clears prior per-session listeners before re-registering.

The standalone note route calls useAttachStandaloneNoteToLiveSession so the window attaches (and reattaches when listeners drop). Tests cover attach/hydration edge cases on both the store and the route.

Reviewed by Cursor Bugbot for commit 9fcb56b. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit 9fcb56b
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a437ec579f5e600082e2c15

Comment thread plugins/transcription/build.rs
Comment thread apps/desktop/src/store/zustand/listener/general-live.ts
@ComputelessComputer ComputelessComputer force-pushed the fix/standalone-note-live-transcript branch from 65aa00a to 63300a7 Compare June 30, 2026 07:32
Comment thread apps/desktop/src/store/zustand/listener/general-live.ts
Comment thread apps/desktop/src/store/zustand/listener/general-live.ts
Expose active capture snapshots and attach standalone note routes to listener events.
@ComputelessComputer ComputelessComputer force-pushed the fix/standalone-note-live-transcript branch from 63300a7 to 47bdd95 Compare June 30, 2026 07:38
Comment thread apps/desktop/src/routes/app/note.$sessionId.tsx Outdated
Comment thread apps/desktop/src/store/zustand/listener/general-live.ts
@ComputelessComputer ComputelessComputer force-pushed the fix/standalone-note-live-transcript branch from 47bdd95 to 980cd6e Compare June 30, 2026 08:03

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 980cd6e. Configure here.

Comment thread apps/desktop/src/store/zustand/listener/general-live.ts
Prevent overlapping attach calls from leaking listeners and clear stale timers when snapshots switch active sessions.
@ComputelessComputer ComputelessComputer force-pushed the fix/standalone-note-live-transcript branch from 980cd6e to 9fcb56b Compare June 30, 2026 08:30
@ComputelessComputer ComputelessComputer merged commit 5321a20 into main Jun 30, 2026
15 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/standalone-note-live-transcript branch June 30, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant